package com.yanqu.road.entity.log.chefduel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_chef_duel2_east_log",desc = "厨神对决-试吃",autoSave = true, uploadCk = true, dataUpload = true, eventName = "cook_twotry", isCross = true)
public class LogChefDuel2East extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true, dataAttribute = "belong_actid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "belong_id")
    private int campId;

    @FieldTypeAnnotation(desc = "开宴玩家", dataAttribute = "belong_uid")
    private long openUserId;

    @FieldTypeAnnotation(desc = "开宴阵营", dataAttribute = "belong_belid")
    private int openCampId;

    @FieldTypeAnnotation(desc = "获得积分", dataAttribute = "after_score")
    private long score;

    @FieldTypeAnnotation(desc = "桌子", dataAttribute = "team_id")
    private int tableId;

    @FieldTypeAnnotation(desc = "消耗道具", dataAttribute = "item_use")
    private String useItem;

    @FieldTypeAnnotation(desc = "菜品id", dataAttribute = "item_id")
    private int dishId;

    @FieldTypeAnnotation(desc = "玩家的活动id", dataAttribute = "activityid")
    private int otherActivityId;

    public LogChefDuel2East(int activityId, long userId, int campId, long openUserId, int openCampId, long score, int tableId, String useItem, int dishId, int otherActivityId) {
        this.activityId = activityId;
        this.userId = userId;
        this.campId = campId;
        this.openUserId = openUserId;
        this.openCampId = openCampId;
        this.score = score;
        this.tableId = tableId;
        this.useItem = useItem;
        this.dishId = dishId;
        this.otherActivityId = otherActivityId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCampId() {
        return campId;
    }

    public void setCampId(int campId) {
        this.campId = campId;
    }

    public long getOpenUserId() {
        return openUserId;
    }

    public void setOpenUserId(long openUserId) {
        this.openUserId = openUserId;
    }

    public int getOpenCampId() {
        return openCampId;
    }

    public void setOpenCampId(int openCampId) {
        this.openCampId = openCampId;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public int getTableId() {
        return tableId;
    }

    public void setTableId(int tableId) {
        this.tableId = tableId;
    }

    public String getUseItem() {
        return useItem;
    }

    public void setUseItem(String useItem) {
        this.useItem = useItem;
    }

    public int getDishId() {
        return dishId;
    }

    public void setDishId(int dishId) {
        this.dishId = dishId;
    }

    public int getOtherActivityId() {
        return otherActivityId;
    }

    public void setOtherActivityId(int otherActivityId) {
        this.otherActivityId = otherActivityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
